package scoutobahn.highway;

import scoutobahn.xml.OsmNode;
/**
 * Interface for calculating the distance between two OsmNode.
 * @author mark
 *
 */
public interface DistanceCalculator {
    /**
     * Returns the distance in meters between the two given OsmNode.
     * @param node1 One Node
     * @param node2 Other Node
     * @return The distance in meter
     */
    double getDistance(final OsmNode node1,
            final OsmNode node2);
}
